package com.timeshare;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.timeshare.mapper")
@EnableAsync
@EnableScheduling
public class TimeShareApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(TimeShareApplication.class, args);
        System.out.println("\n========================================");
        System.out.println("TimeShare 校园技能互助平台启动成功！");
        System.out.println("API文档地址: http://localhost:8080/api/doc.html");
        System.out.println("========================================\n");
    }
}

